﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace 计科2015_31
{
    public partial class 实验1_3_2 : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            int i, j, k;
            for (i = 1; i <= 3; i++)
            {
                for (j = 1; j <= 3 - i; j++)
                    Response.Write("&nbsp");
                for (k = 1; k <= 2 * i - 1; k++)
                {
                    if (i == 1)
                        Response.Write("A");
                    if (i == 2)
                        Response.Write("B");
                    if (i == 3)
                        Response.Write("C");
                }
                Response.Write("<br/>");
            }
            for (i = 0; i < 2; i++)
            {
                for (j = 1; j <= i + 1; j++)
                    Response.Write("&nbsp");
                for (k = 1; k <= 3 - 2 * i; k++)
                {
                    if (i == 0)
                        Response.Write("D");
                    if (i == 1)
                        Response.Write("E");
                }
                Response.Write("<br/>");
            }
        }
    }
}